$OpenBSD: patch-gthread_Makefile_in,v 1.4 2007/12/11 10:57:25 jakemsr Exp $
--- gthread/Makefile.in.orig	Thu Mar 15 07:48:51 2001
+++ gthread/Makefile.in	Sun Oct 21 01:31:06 2007
@@ -102,7 +102,7 @@ libglib = $(top_builddir)/libglib.la # -lglib
 lib_LTLIBRARIES = libgthread.la
 
 libgthread_la_SOURCES = gthread.c
-libgthread_la_LDFLAGS =  	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) 	-release $(LT_RELEASE) 	-export-dynamic
+libgthread_la_LDFLAGS =  	-version-info 1:2:0	-export-dynamic
 
 
 libgthread_la_LIBADD = @G_THREAD_LIBS@
@@ -127,7 +127,7 @@ testgthread_SOURCES = testgthread.c
 testgthread_OBJECTS =  testgthread.o
 testgthread_DEPENDENCIES =  ../libglib.la libgthread.la
 testgthread_LDFLAGS = 
-CFLAGS = @CFLAGS@
+CFLAGS = @CFLAGS@ @G_THREAD_CFLAGS@
 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 CCLD = $(CC)
@@ -300,7 +300,7 @@ install-am: all-am
 install: install-am
 uninstall-am: uninstall-libLTLIBRARIES
 uninstall: uninstall-am
-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS)
+all-am: Makefile $(LTLIBRARIES)
 all-redirect: all-am
 install-strip:
 	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
